package com.qqin.pojo.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor//生成无参构造函数
@AllArgsConstructor//生成包含所有字段的构造函数。
//订单综合信息的类。
public class OrderSynthesis {
    private Integer orderId;
    private Integer orderUser;
    private String orderGoods;
    private Integer orderAddress;
    private Double orderPrice;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime paymentTime;
    private Integer state;
    private String addressName;

}
